package abg.core.common.security;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

public class AuthUser implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private String userId;

    private String account;

    //APP/WEB
    private String client;

    private List<String> roleIds;

    private List<String> orgIds;

    private boolean isRoot;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public List<String> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<String> roleIds) {
        this.roleIds = roleIds;
    }

    public boolean isRoot() {
        return isRoot;
    }

    public void setRoot(boolean root) {
        isRoot = root;
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public List<String> getOrgIds() {
        return orgIds;
    }

    public void setOrgIds(List<String> orgIds) {
        this.orgIds = orgIds;
    }
}
